﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.Mechanical;
using Autodesk.Revit.UI.Selection;

namespace YArchitech.HCLoad.Query
{
	public class HcSpaceFilter : ISelectionFilter
	{
		public bool AllowElement(Element element)
		{
			return element is Space;
		}

		public bool AllowReference(Reference refer, XYZ point)
		{
			return true;
		}
	}
}
